﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XYZshell.Game.CardGameEngine;
namespace XYZshell.TouhouCard
{
	/// <summary>
	/// 东方卡牌基类
	/// </summary>
	public abstract  class TouhouCard:Card
	{
		/// <summary>
		/// 卡牌类型
		/// </summary>
		public CardType CardType
		{
			get
			{
				return (CardType)Enum.Parse( typeof( CardType ), Properties["CardType"] );

			}
			set
			{
				Properties["CardType"] = value.ToString();
			}
		}
		public TouhouCard( Card card )
		{
			this.Properties = card.Properties;
			this.Name = card.Name;
			this.Affect = card.Affect;
		}
		public TouhouCard()
		{
		}
	}
}
